package com.exception;

import com.log.LoggerFactory;
import org.slf4j.Logger;

public class ServiceRuntimeException extends  RuntimeException {

    private Logger serverErrorLog=LoggerFactory.getPaymentLogger(ServiceRuntimeException.class);

    public ServiceRuntimeException(String message) {
        super(message);
        serverErrorLog.info("serviceRuntimeException Occured,message is  :{}",message);
    }
}
